Skip to content

Add leader_cluster_address field to sys/leader endpoint - #391

Merged
chrisarcand merged 1 commit into
masterfrom
add-leader-cluster-address
Feb 4, 2026
Merged

Add leader_cluster_address field to sys/leader endpoint#391
chrisarcand merged 1 commit into
masterfrom
add-leader-cluster-address

Conversation

@chrisarcand

Copy link
Copy Markdown
Member

The Vault API returns a leader_cluster_address field from the /sys/leader endpoint, which provides the cluster address where the leader is running (distinct from leader_address which is the API address).

This change exposes that field through the LeaderStatus response object as cluster_address.

Changes:

  • Added leader_cluster_address field to LeaderStatus class
  • Added test coverage for the new field
  • Updated example documentation
  • Updated CHANGELOG

Closes #204

The Vault API returns a `leader_cluster_address` field from the
/sys/leader endpoint, which provides the cluster address where the
leader is running (distinct from `leader_address` which is the API
address).

This change exposes that field through the `LeaderStatus` response
object as `cluster_address`.

Changes:
- Added `leader_cluster_address` field to `LeaderStatus` class
- Added test coverage for the new field
- Updated example documentation
- Updated CHANGELOG

Fixes #204
@chrisarcand
chrisarcand requested a review from a team as a code owner February 4, 2026 17:17
@chrisarcand
chrisarcand merged commit 46f3da1 into master Feb 4, 2026
27 of 28 checks passed
@chrisarcand
chrisarcand deleted the add-leader-cluster-address branch February 4, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants